<template>
  <div class="anesthesiaSheet-wrapper">
    <div class="anesthesiaSheet-content">
      <div class="header-title">
        <div class="header-title-record1">麻醉恢复室记录单</div>
        <div class="header-title-record2">
          <div>
            <span>病区：</span>
            <span>{{ "32病区泌尿外科" }}</span>
          </div>
          <div>
            <span>床号：</span>
            <span>{{ "23" }}</span>
          </div>
          <div>
            <span>住院号：</span>
            <span>{{ "805060" }}</span>
          </div>
          <div>
            <span>手术日期：</span>
            <span>{{ "2011-05-13" }}</span>
          </div>
        </div>
      </div>
      <div class="header-name">
        <div class="header-name-box">
          <span>姓名：</span>
          <span>{{ "吴林方" }}</span>
        </div>
        <div class="header-name-box">
          <span>性别：</span>
          <span>{{ "男" }}</span>
        </div>
        <div class="header-name-box">
          <span>年龄：</span>
          <input type="text" class="sex" disabled="true" />
        </div>
        <div class="operation-box">
          <span>手术类型：</span>
          <input type="text" class="operation-type" disabled="true" />
        </div>
        <div class="header-name-box">
          <span>日间：</span>
          <input type="text" class="day-ipt" disabled="true" />
        </div>
        <div class="special-box">
          <span>特殊情况：</span>
          <input type="text" class="special-type" disabled="true" />
        </div>
      </div>
      <div class="svg-content">
        <svg id="wrapper"></svg>
        <svg id="temperatureScales"></svg>
      </div>

      <div class="remark-box">
        <div class="remark-text">备注</div>
        <div class="remark-content">
          <div class="remark-content1">
            <div v-for="(t, i) in sj.slice(0, 8)" :key="i">
              {{ `${i + 1}、${t.FLDNAME}` }}
            </div>
          </div>
          <div class="remark-content2">
            <div v-for="(t, i) in sj.slice(8, 16)" :key="i">
              {{ `${9 + i}、${t.FLDNAME}` }}
            </div>
          </div>
          <div class="remark-content3">
            <div v-for="(t, i) in sj.slice(16, 24)" :key="i">
              {{ `${17 + i}、${t.FLDNAME}` }}
            </div>
          </div>
        </div>
        <div class="remark-input">
          <el-form label-width="54px">
            <el-form-item label="输血量"
              >: <el-input v-model="form.name"></el-input>ml
            </el-form-item>

            <el-form-item label="晶体量"
              >: <el-input v-model="form.name"></el-input> ml
            </el-form-item>
            <el-form-item label="胶体量"
              >: <el-input v-model="form.name"></el-input> ml
            </el-form-item>
            <el-form-item label="尿量"
              >: <el-input v-model="form.name"></el-input> ml
            </el-form-item>
            <el-form-item label="出血量"
              >: <el-input v-model="form.name"></el-input> ml
            </el-form-item>
            <el-form-item label="总入量"
              >: <el-input v-model="form.name"></el-input> ml
            </el-form-item>
            <el-form-item label="总出量"
              >: <el-input v-model="form.name"></el-input> ml
            </el-form-item>
          </el-form>
        </div>
      </div>

      <div class="anthesia-summary">
        <div class="summary-title">麻醉总结</div>
        <el-form>
          <div class="line">
            <el-form-item label="全身麻醉" class="label64"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['吸入', '静脉', '静吸', '基础']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>

            <el-form-item
              label="气管插管"
              style="margin-left: 58px"
              class="label82 qgcg"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in [
                    '气管内',
                    '支气管内(左、右)',
                    '经口',
                    '经鼻',
                    '喉罩',
                    '其他',
                  ]"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
          </div>

          <div class="line">
            <el-form-item label="动脉穿刺" class="label64"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['左、右', '桡动脉', '足背动脉']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>

            <el-form-item
              label="深静脉穿刺"
              style="margin-left: 127px"
              class="label82 sjmcc"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['左', '右', '颈内', '颈外', '股', '锁骨下']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
          </div>

          <div class="line line2">
            <el-form-item label="体温监测" class="label64 twjc"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['鼻咽', '食管', '直肠', 'CPB']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>

            <el-form-item
              label="其他检测"
              class="w553 label82"
              style="margin-left: 52px"
              >:
              <el-input></el-input>
            </el-form-item>
          </div>
          椎管内麻醉：
          <div class="line">
            <el-form-item
              label=" 1、椎管内麻醉：穿刺顺利"
              class="label190"
              style="margin-right: -1px"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['是', '否']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
            <el-form-item label="硬膜外隙出血" class="label100"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['有', '无']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
            <el-form-item label="硬膜外导管拔除" class="lable120"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['是', '否']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
          </div>

          <div class="line">
            <el-form-item
              label="2、麻醉效果评价：麻醉平面"
              class="label190"
              style="margin-right: 20px"
              >:
              <el-input></el-input>
            </el-form-item>
            <el-form-item label="单侧阻滞" class="label100"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['是', '否']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
            <el-form-item label="阻滞不全" class="lable120"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['是', '否']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
          </div>

          全身麻醉：

          <div class="line">
            <el-form-item label="1、Mallampati气管分级" class="label190"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['Ⅰ', 'Ⅱ', 'Ⅲ', 'Ⅳ']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
            <el-form-item label="气管插管困难"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['有', '无']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
            <el-form-item label="插管成功" class="label64"
              >:
              <el-checkbox-group v-model="checke" :max="1">
                <el-checkbox
                  v-for="item in ['是', '否']"
                  :label="item"
                  :key="item"
                  >{{ item }}</el-checkbox
                >
              </el-checkbox-group>
            </el-form-item>
          </div>

          <div class="line">
            <el-form-item label="2、麻醉效果评价" class="w983"
              >:
              <el-input></el-input>
            </el-form-item>
          </div>

          <div class="line">
            <el-form-item label="麻醉效果" class="label64"
              >:
              <el-input></el-input>
            </el-form-item>
            <el-form-item label="stewar评分"
              >:
              <el-input></el-input>
            </el-form-item>
          </div>
        </el-form>
      </div>

      <div class="anthesia-info">
        <el-form>
          <div class="line">
            <el-form-item label="手术方式" class="w622"
              >:
              <el-input></el-input>
            </el-form-item>
            <el-form-item label="麻醉方式" class="w318"
              >:
              <el-input></el-input>
            </el-form-item>
          </div>

          <div class="line">
            <el-form-item label="手术者" class="label64 w104"
              >:
              <el-input></el-input>
              <el-input></el-input>
              <el-input></el-input>
            </el-form-item>
            <el-form-item
              label="麻醉者"
              class="label64 w104"
              style="margin-left: 80px; margin-right: 18px"
              >:
              <el-input></el-input>
            </el-form-item>
            <el-form-item
              label="签名"
              class="label64 w99"
              style="margin-right: 0"
              >:
              <el-input></el-input>
              <el-input></el-input>
              <el-input></el-input>
            </el-form-item>
          </div>

          <div class="line">
            <el-form-item label="器械护士" class="label64 w104"
              >:
              <el-input></el-input>
            </el-form-item>
            <el-form-item
              label="巡回护士"
              class="label64 w104"
              style="margin-left: 20px"
              >:
              <el-input></el-input>
            </el-form-item>
          </div>
        </el-form>
      </div>
    </div>
  </div>
</template>
<script>
import D3Drawer from "../../utils/svgApi.js";
import { timeSlot } from "../../utils/date.js";
import * as d3 from "d3";
import dayjs from "dayjs";
export default {
  data() {
    return {
      drawer: null,
      scales: null,
      lattice: 16, //小格宽度
      // 用药及输液情况
      mazui: [
        "氧气",
        "氧气复合空气",
        "咪达唑伦(mg)",
        "芬太尼(mg)",
        "1%丙泊酚(ml)",
        "依托咪酯(mg)",
        "2%丙泊酚(ml/h)",
        "右美托咪定(ug/h)",
        "顺式阿曲库铵(mg/h)",
        "瑞芬太尼(mg/h)",
        "七氟烷(ml)",
      ],
      shuye: ["少白红细胞", "琥珀酰明胶", "0.9%氯化钠(抗生素)", "复方氯化钠"],
      shuxue: ["乳酸钠林格", "自体血"],
      chuliang: ["尿量", "失血量", ""],
      // shuzhong: new Array(34).fill(''),
      vertical: 228,
      // 最小格子高
      minboxheight: 16,
      // 最小格子宽
      minboxwidth: 19,
      // 最上边的框高度和最左侧的宽度
      topandleft: 30,
      // 右侧位置横坐标
      mostright: 1140,
      linecolor1: "red",
      linecolor2: "#ffa8a8",
      linecolor3: "#1B4ADD",
      // 顶部时间刻度
      toptimearray: [],
      // 术中检测刻度数组
      shuozhongarray1: [
        "",
        "260",
        "",
        "240",
        "",
        "220",
        "",
        "200",
        "",
        "180",
        "",
        "160",
        "",
        "140",
        "",
        "120",
        "",
        "100",
        "",
        "80",
        "",
        "60",
        "",
        "40",
        "",
        "20",
        "",
        "0",
      ],
      shuozhongarray2: ["Spo2", "ETC02", "体温", "PPV", "BIS", "脉搏/血压mmHg"],
      // 图例数组
      tuliarray: [
        {
          title: "图例",
          selected: "",
        },
        {
          title: "血压",
          selected: require("../../../public/icon/血压.png"),
        },
        {
          title: "脉搏",
          selected: require("../../../public/icon/脉搏.png"),
        },
        {
          title: "自主呼吸",
          selected: require("../../../public/icon/呼吸.png"),
        },
        {
          title: "机械通气",
          selected: require("../../../public/icon/机械.png"),
        },
        {
          title: "麻醉开始",
          selected: require("../../../public/icon/麻醉开始.png"),
        },
        {
          title: "麻醉结束",
          selected: require("../../../public/icon/麻醉结束.png"),
        },
        {
          title: "置管",
          selected: require("../../../public/icon/置管.png"),
        },
        {
          title: "拔管",
          selected: require("../../../public/icon/拔管.png"),
        },
        {
          title: "手术开始",
          selected: require("../../../public/icon/手术开始.png"),
        },
        {
          title: "手术结束",
          selected: require("../../../public/icon/手术结束.png"),
        },
      ],
      // 右侧温度数组
      tempaturearray: ["°C", "42", "40", "38", "36", "34", "32", "30", "28"],
      shuozhongtoparray: ["Sp02", "ETC02", "体温", "BIS", "CVP", ""],

      form: {
        name: "",
      },
      checke: [],
      checkList: ["无", "有"],
      hx: [
        {
          RDN: "4595187",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "99",
          PHRCD: "",
          FLDDISPLAY: "99",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:31:00",
          DODATE: "2023-12-12 14:30",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4595169",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4588969",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 14:41:00",
          DODATE: "2023-12-12 14:38",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4588959",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4590498",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 14:51:00",
          DODATE: "2023-12-12 14:43",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4590478",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4590494",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 14:51:00",
          DODATE: "2023-12-12 14:48",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4590479",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4591351",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:04:00",
          DODATE: "2023-12-12 14:53",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4591337",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4591360",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "99",
          PHRCD: "",
          FLDDISPLAY: "99",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:04:00",
          DODATE: "2023-12-12 14:58",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4591342",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4591368",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "99",
          PHRCD: "",
          FLDDISPLAY: "99",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:04:00",
          DODATE: "2023-12-12 15:03",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4591353",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4593987",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:23:00",
          DODATE: "2023-12-12 15:08",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4593969",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4594001",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "99",
          PHRCD: "",
          FLDDISPLAY: "99",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:23:00",
          DODATE: "2023-12-12 15:13",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4593991",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4595189",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:31:00",
          DODATE: "2023-12-12 15:20",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4595173",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4595207",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:31:00",
          DODATE: "2023-12-12 15:25",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4595192",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4595947",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:36:00",
          DODATE: "2023-12-12 15:31",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4595931",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4596117",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 15:39:00",
          DODATE: "2023-12-12 15:38",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4596108",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4599504",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:07:00",
          DODATE: "2023-12-12 15:43",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4599488",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4601395",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:26:00",
          DODATE: "2023-12-12 15:50",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4601363",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4601402",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:26:00",
          DODATE: "2023-12-12 15:55",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4601370",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4601379",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:26:00",
          DODATE: "2023-12-12 16:00",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4601359",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4601412",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "99",
          PHRCD: "",
          FLDDISPLAY: "99",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:26:00",
          DODATE: "2023-12-12 16:05",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4601400",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4601423",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "99",
          PHRCD: "",
          FLDDISPLAY: "99",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:26:00",
          DODATE: "2023-12-12 16:10",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4601414",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4600440",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:20:00",
          DODATE: "2023-12-12 16:16",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4600429",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4602719",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:31:00",
          DODATE: "2023-12-12 16:23",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4602698",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4602728",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "98",
          PHRCD: "",
          FLDDISPLAY: "98",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:31:00",
          DODATE: "2023-12-12 16:28",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4602705",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4603243",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "SpO2",
          FLDNAME: "SpO2",
          VALUETYPE: "N",
          FLDKIND: "1",
          FLDUNIT: "%",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4585374",
          INDATE: "12/12/2023 16:36:00",
          DODATE: "2023-12-12 16:32",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "5",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "103",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4603228",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
      ],
      startDate: "2023-12-12 14:20",
      path_g: null,
      circle_g: null,
      coordinateList: [],
      dropindex: [],
      sj: [
        {
          RDN: "4721340",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "WF166",
          FLDNAME: "入手术室",
          VALUETYPE: "S",
          FLDKIND: "1",
          FLDUNIT: "",
          INPUTFIELD: "2023-12-14 08:50",
          PHRCD: "",
          FLDDISPLAY: "2023-12-14 08:50",
          SETNO: "4721338",
          INDATE: "12/14/2023 10:38:00",
          DODATE: "2023-12-14 08:50",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "0",
          USEFLAG: "1",
          FLDPROTECT: "0",
          SHOWSERIES: "8",
          REPEATFLAG: "0",
          SELECTFLAG: "M",
          DISPLAYTYPE: "0",
          NEEDFLAG: "0",
          INHAND: "1",
          NEXTSUM: "0",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "163174",
          LOGFLAG: "0",
          WORDHIGH: "1",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4721278",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "1",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "入手术室",
        },
        {
          RDN: "4731565",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES10_004",
          FLDNAME: "心电监护",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:11:00",
          DODATE: "2023-12-14 10:45",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4731562",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "心电监护",
        },
        {
          RDN: "4731566",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES10_003",
          FLDNAME: "备阿托品、麻黄素",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:11:00",
          DODATE: "2023-12-14 10:45",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4731562",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "备阿托品、麻黄素",
        },
        {
          RDN: "4731563",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES10_007",
          FLDNAME: "麻醉前评估",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:11:00",
          DODATE: "2023-12-14 10:48",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4731562",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "麻醉前评估",
        },
        {
          RDN: "4731564",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES10_006",
          FLDNAME: "三方核对正确",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:11:00",
          DODATE: "2023-12-14 10:49",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4731562",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "三方核对正确",
        },
        {
          RDN: "4730222",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES40_001",
          FLDNAME: "氧气",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "L/min",
          INPUTFIELD: "2",
          PHRCD: "",
          FLDDISPLAY: "2",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:08:00",
          DODATE: "2023-12-14 10:50",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4730222",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES40",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "氧气",
        },
        {
          RDN: "4735334",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "局部麻醉改全身麻醉",
          FLDNAME: "局部麻醉改全身麻醉",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:44:00",
          DODATE: "2023-12-14 10:50",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4735334",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "局部麻醉改全身麻醉",
        },
        {
          RDN: "4731562",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES10_008",
          FLDNAME: "麻醉诱导开始",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:11:00",
          DODATE: "2023-12-14 10:55",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4731562",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "麻醉诱导开始",
        },
        {
          RDN: "4731165",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES50_002",
          FLDNAME: "喉罩置入",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:10:00",
          DODATE: "2023-12-14 10:57",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4731165",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES50",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "喉罩置入",
        },
        {
          RDN: "4730338",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES80_020",
          FLDNAME: "VT480(ml）  F",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:09:00",
          DODATE: "2023-12-14 10:58",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4730338",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES80",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "VT480(ml）  F12",
        },
        {
          RDN: "4730339",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES80_30",
          FLDNAME: "I/E1:2Paw16",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:09:00",
          DODATE: "2023-12-14 10:58",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4730338",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES80",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "I/E1:2Paw16",
        },
        {
          RDN: "4732226",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "手术开始",
          FLDNAME: "手术开始",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 11:13:00",
          DODATE: "2023-12-14 11:04",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4732226",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "手术开始",
        },
        {
          RDN: "4742441",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "拔除喉罩",
          FLDNAME: "拔除喉罩",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "",
          INPUTFIELD: "",
          PHRCD: "",
          FLDDISPLAY: "",
          SETNO: "4721425",
          INDATE: "12/14/2023 13:17:00",
          DODATE: "2023-12-14 13:16",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4742441",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES10",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "拔除喉罩",
        },
        {
          RDN: "4744619",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES90_001",
          FLDNAME: "出血",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "ml",
          INPUTFIELD: "100",
          PHRCD: "",
          FLDDISPLAY: "100",
          SETNO: "4721425",
          INDATE: "12/14/2023 13:48:00",
          DODATE: "2023-12-14 13:25",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4744619",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES90",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "出血",
        },
        {
          RDN: "4744620",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES90_010",
          FLDNAME: "尿量",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "ml",
          INPUTFIELD: "400",
          PHRCD: "",
          FLDDISPLAY: "400",
          SETNO: "4721425",
          INDATE: "12/14/2023 13:48:00",
          DODATE: "2023-12-14 13:25",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "",
          WORDHIGH: "",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4744620",
          SUBTYPE: "",
          SUBTYPE_MARK: "ANES90",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "尿量",
        },
        {
          RDN: "4721347",
          HOSCODE: "A001",
          RELARDN: "99023",
          MRN: "23018224",
          FLOWID: "IP23050820",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "WF153",
          FLDNAME: "出手术室",
          VALUETYPE: "S",
          FLDKIND: "1",
          FLDUNIT: "",
          INPUTFIELD: "2023-12-14 13:30",
          PHRCD: "",
          FLDDISPLAY: "2023-12-14 13:30",
          SETNO: "4721338",
          INDATE: "12/14/2023 10:38:00",
          DODATE: "2023-12-14 13:30",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/15/2023 09:30:00",
          PHNUMB: "0",
          USEFLAG: "1",
          FLDPROTECT: "0",
          SHOWSERIES: "51",
          REPEATFLAG: "0",
          SELECTFLAG: "M",
          DISPLAYTYPE: "0",
          NEEDFLAG: "0",
          INHAND: "1",
          NEXTSUM: "0",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "1200528",
          LOGFLAG: "0",
          WORDHIGH: "1",
          WORDCOLOR: "",
          PICWIDE: "",
          MARKRDN: "4721278",
          SUBTYPE: "",
          SUBTYPE_MARK: "",
          GROUP_MARK: "",
          MAINFLAG: "1",
          STOPDATE: "1900-01-01 00:00",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
          FLDNAME2: "出手术室",
        },
      ],
    };
  },
  created() {},
  computed: {
    // 麻药底部到顶部的距离
    mayaoheight() {
      return this.mazui.length * this.minboxheight + this.topandleft;
    },
    // 输液底部到顶部的距离
    shuyeheight() {
      return this.mayaoheight + this.shuye.length * this.minboxheight;
    },
    // 输血底部到顶部的距离
    shuxueheight() {
      return this.shuyeheight + this.shuxue.length * this.minboxheight;
    },
    // 出量底部到顶部距离
    chuliangheight() {
      return this.shuxueheight + this.chuliang.length * this.minboxheight;
    },
    // 术中检测上部分到顶部的距离
    shuzhongtopheight() {
      return (
        this.shuozhongtoparray.length * this.minboxheight + this.chuliangheight
      );
    },
    // 术中检测下部分到顶部的距离
    shuzhongbottomheight() {
      return (
        this.shuzhongtopheight + this.shuozhongarray1.length * this.minboxheight
      );
    },
  },
  mounted() {
    this.drawer = new D3Drawer("#wrapper");
    this.scales = new D3Drawer("#temperatureScales");
    this.drawer.drawLine(
      [0, this.topandleft],
      [this.mostright, this.topandleft],
      this.linecolor2,
      2
    ); //顶部区域
    this.drawer.drawLine([0, 0], [this.mostright, 0], this.linecolor1, 2); //顶部区域
    // 获取头部时间
    this.toptimearray = timeSlot(this.startDate, "5");
    // 画底图
    this.tableline();
    // 数据转换
    this.dataconversion(this.hx);
    // 画折线图
    this.anesthesiaSheet(this.coordinateList);
    // console.log(this.coordinateList)

    this.creatSy();
  },
  methods: {
    // 数据转换
    dataconversion(val) {
      for (let demo of val) {
        this.leftToRight(demo);
        this.topheight(demo);
      }
      // 先清除
      d3.select("#path_g").remove();
      d3.select("#circle_g").remove();
      // 再创建
      this.path_g = d3
        .select("#wrapper")
        .append("g")
        .attr("id", "path_g")
        .attr(
          "transform",
          `translate(${this.vertical},${this.shuzhongbottomheight}) scale(1,-1)`
        );
      this.circle_g = d3
        .select("#wrapper")
        .append("g")
        .attr("id", "circle_g")
        .attr(
          "transform",
          `translate(${this.vertical},${this.shuzhongbottomheight}) scale(1,-1)`
        );

      for (let item of this.hx) {
        let coordinate = {};
        coordinate.x = item.x;
        coordinate.y = item.y;
        this.coordinateList.push(coordinate);
      }
      // 创建点数组
      this.dropindex = [];
      for (let i = 0; i < 100; i++) {
        this.dropindex.push(i);
      }
    },
    // 画折线
    anesthesiaSheet(val) {
      // 创建折线
      let tempArr = []; //坐标数组
      for (let item1 of val) {
        tempArr.push(item1.x);
        tempArr.push(item1.y);
      }
      this.path_g
        .append("path")
        .attr("id", "polyline")
        .attr("fill", "none")
        .attr("stroke-width", "2")
        .attr("stroke", "blue")
        .attr("d", `M${tempArr.join(",")}`);

      // 创建点
      for (let item2 of val) {
        this.circle_g
          .append("circle")
          .attr("class", "circle")
          .attr("fill", "blue")
          .attr("stroke-width", "2")
          .attr("stroke", "blue")
          .attr("r", "5")
          .attr("cx", item2.x)
          .attr("cy", item2.y);
      }
      // 绑定数据
      d3.selectAll(".circle").data(this.dropindex);

      // 添加拖拽
      this.dragmove("circle", this.hx, "polyline", "circle");
    },
    // 添加拖拽,点id，
    dragmove(labelId, originalArr, poyline, dropClass) {
      // 拖拽x坐标
      let cx = "";
      // 拖拽索引
      let indexCircle = null;
      // 拖拽对象数组
      let arr = [...this.coordinateList];
      let poyline_g = this.path_g;
      // 文字标识
      let text_g = null;
      let sum = this.shuzhongbottomheight;

      let height_g = this.shuzhongbottomheight - this.shuzhongtopheight;
      // 比例尺
      const yScale = d3.scaleLinear().domain([0, height_g]).range([0, 280]);

      // 范围
      let top = this.shuzhongtopheight;
      let bottom = this.shuzhongbottomheight;
      let pressdown = false;

      // svg实例
      let rect_g = this.drawer;

      // 鼠标移入
      // d3.selectAll(`.${dropClass}`).on("mouseover", function () {
      //   rect_g.drawRect([100,100],[100,100],"rect_id","red",0.5)
      // })
      // // 鼠标按下
      // d3.selectAll(`.${dropClass}`).on("mousedown", function () {
      //   pressdown=true
      // })
      // // 鼠标移出
      // d3.selectAll(`.${dropClass}`).on("mouseout", function () {
      //   rect_g.drawRemove("#rect_id")
      //   // if(pressdown){
      //   //   console.log("按下了")
      //   // }else{
      //   //   console.log("没按下")
      //   //   d3.select("#text_g").remove();
      //   // }
      // })

      const drag = d3
        .drag()
        .on("start", function (d, i) {
          let pt = d3.pointer(event, this);
          cx = pt[0];
          indexCircle = i;
        })
        .on("drag", function () {
          let pt = d3.pointer(event, this); // 这里pointer事件是获取到当前点击元素，并可以得到对应的坐标
          if (sum - pt[1] < top) {
            console.log("no");
            return;
          } else if (sum - pt[1] > bottom) {
            console.log("no");
            return;
          }

          d3.select(this).attr("cy", pt[1]);
          let obj = {};
          obj.x = d3.select(this).attr("cx");
          obj.y = d3.select(this).attr("cy");
          arr.splice(indexCircle, 1, obj);

          let tempArr = [];
          for (let item of arr) {
            tempArr.push(item.x);
            tempArr.push(item.y);
          }

          // d3.select("#text_g").remove();
          rect_g.drawRemove("#rect_id");
          rect_g.drawRect(
            [120, 80],
            [cx + 220, sum - pt[1] - 10],
            "rect_id",
            "#f3f3f3",
            1,
            "#f4f4f4",
            0.7
          );
          // d3.select("#wrapper").append("g").attr("id", "text_g")
          //   .append("text")
          //   .text(`${yScale(pt[1])}`)
          //   .attr("font-size", "20")
          //   .attr("fill", "green")
          //   .attr("x", `${cx + 220}`)
          //   .attr("y", `${sum - pt[1] - 10}`);

          // 清除线
          d3.select(`#${poyline}`).remove();
          // 重新画线
          poyline_g
            .append("path")
            .attr("id", `${poyline}`)
            .attr("fill", "none")
            .attr("stroke-width", "2")
            .attr("stroke", "blue")
            .attr("d", `M${tempArr.join(",")}`);
        })
        .on("end", function () {
          // d3.select("#text_g").remove();
          rect_g.drawRemove("#rect_id");
        });

      d3.selectAll(labelId).call(drag);
    },
    // 画底图
    tableline() {
      // 出量顶部横线
      this.drawer.drawLine(
        [0, this.shuxueheight],
        [this.mostright, this.shuxueheight],
        this.linecolor1,
        1
      );
      // 出量底部横线
      this.drawer.drawLine(
        [0, this.chuliangheight],
        [this.mostright, this.chuliangheight],
        "red",
        1
      );
      // 左侧第一个竖线
      this.drawer.drawLine(
        [this.topandleft, this.topandleft],
        [this.topandleft, this.shuzhongbottomheight],
        this.linecolor1,
        1
      );
      // 输液右侧的短线
      this.drawer.drawLine(
        [this.topandleft + this.minboxwidth, this.mayaoheight],
        [this.topandleft + this.minboxwidth, this.shuyeheight],
        this.linecolor2,
        1
      );

      // 麻醉横线
      let mazhuitop = this.topandleft + this.minboxheight;
      for (let i = 0; i < this.mazui.length; i++) {
        this.drawer.drawLine(
          [this.topandleft, mazhuitop],
          [this.mostright, mazhuitop],
          this.linecolor2,
          1
        );
        this.drawer.drawText(
          [this.topandleft + 10, mazhuitop - 3],
          this.mazui[i],
          14,
          "#000000"
        );
        mazhuitop = mazhuitop + this.minboxheight;
      }
      // 输液横线
      let shuyetop = this.mayaoheight;
      for (let i = 0; i < this.shuye.length; i++) {
        this.drawer.drawLine(
          [this.topandleft + this.minboxwidth, shuyetop],
          [this.mostright, shuyetop],
          this.linecolor2,
          1
        );
        shuyetop = shuyetop + this.minboxheight;
      }
      // 输血顶部横线
      this.drawer.drawLine(
        [this.topandleft, this.shuyeheight],
        [this.mostright, this.shuyeheight],
        this.linecolor2,
        1
      );
      // 输血文字右侧竖线
      this.drawer.drawLine(
        [this.topandleft + this.minboxwidth, this.shuyeheight],
        [this.topandleft + this.minboxwidth, this.shuxueheight],
        this.linecolor2,
        1
      );

      // 输血横线
      let shuxuetop = this.shuyeheight;
      for (let i = 0; i < this.shuxue.length; i++) {
        this.drawer.drawLine(
          [this.topandleft + this.minboxwidth, shuxuetop],
          [this.mostright, shuxuetop],
          this.linecolor2,
          1
        );
        this.drawer.drawText(
          [this.topandleft + this.minboxwidth + 5, shuxuetop + 13],
          this.shuxue[i],
          14,
          "#000000"
        );
        shuxuetop = shuxuetop + this.minboxheight;
      }

      // 出量横向
      let chulinagtop = this.shuxueheight;
      for (let i = 0; i < this.chuliang.length; i++) {
        this.drawer.drawLine(
          [this.topandleft, chulinagtop],
          [this.mostright, chulinagtop],
          this.linecolor2,
          1
        );
        this.drawer.drawText(
          [this.topandleft + 5, chulinagtop + 13],
          this.chuliang[i],
          14,
          "#000000"
        );
        chulinagtop = chulinagtop + this.minboxheight;
      }

      // 画竖线开始位置
      let tdwidth = this.vertical;
      // 画竖线
      for (let i = 1; i <= 48; i++) {
        if (i % 3 == 1) {
          this.drawer.drawLine(
            [tdwidth, this.topandleft],
            [tdwidth, this.shuzhongbottomheight],
            this.linecolor1,
            1
          );
          // 添加顶部时间 8:10,8:15
          this.drawer.drawText(
            [tdwidth - 15, this.topandleft - 10],
            this.toptimearray[i - 1],
            16,
            "#FF4B4B"
          );
        } else {
          this.drawer.drawLine(
            [tdwidth, this.topandleft],
            [tdwidth, this.shuzhongbottomheight],
            this.linecolor2,
            1,
            [5, 5]
          );
        }
        tdwidth = tdwidth + this.minboxwidth;
      }

      // 术中检测上半部分横线
      let shuzhongtop1 = this.chuliangheight;
      for (let i = 0; i < this.shuozhongtoparray.length; i++) {
        shuzhongtop1 = shuzhongtop1 + 16;
        // 左侧
        this.drawer.drawLine(
          [this.topandleft, shuzhongtop1],
          [this.vertical, shuzhongtop1],
          this.linecolor2,
          1
        );
        // 右侧
        if (i % 2 == 0) {
          this.drawer.drawLine(
            [this.vertical, shuzhongtop1],
            [this.mostright, shuzhongtop1],
            this.linecolor2,
            1,
            [5, 5]
          );
        } else {
          this.drawer.drawLine(
            [this.vertical, shuzhongtop1],
            [this.mostright, shuzhongtop1],
            this.linecolor2,
            1
          );
        }
        this.drawer.drawText(
          [this.topandleft + 5, shuzhongtop1 - 3],
          this.shuozhongtoparray[i],
          14,
          "#000000"
        );
      }
      // 术中检测下半部分横线
      let shuzhongbottom1 = this.shuzhongtopheight;
      for (let i = 0; i < this.shuozhongarray1.length; i++) {
        shuzhongbottom1 = shuzhongbottom1 + 16;
        if (i % 2 == 1) {
          this.drawer.drawLine(
            [this.vertical, shuzhongbottom1],
            [this.mostright, shuzhongbottom1],
            this.linecolor2,
            1
          );
        } else {
          this.drawer.drawLine(
            [this.vertical, shuzhongbottom1],
            [this.mostright, shuzhongbottom1],
            this.linecolor2,
            1,
            [5, 5]
          );
        }
        // 术中检测左侧刻度
        this.drawer.drawText(
          [this.vertical - 5, shuzhongbottom1 + 3],
          this.shuozhongarray1[i],
          15,
          "black",
          "",
          "end"
        );
      }
      // 术中检测底部线
      this.drawer.drawLine(
        [0, this.shuzhongbottomheight],
        [this.mostright, this.shuzhongbottomheight],
        this.linecolor1,
        1
      );

      // 添加文字
      this.drawer.drawText([100, this.topandleft - 10], "时间", 16, "#FF4B4B");
      this.drawer.drawText(
        [15, this.topandleft + 70],
        "用药及输液情况",
        14,
        "#000000",
        "vertical-rl"
      );
      this.drawer.drawText(
        [this.topandleft + 9, this.mayaoheight + 20],
        "输液",
        12,
        "black",
        "vertical-rl"
      );
      this.drawer.drawText(
        [this.topandleft + 9, this.shuyeheight + 5],
        "输血",
        12,
        "black",
        "vertical-rl"
      );
      this.drawer.drawText(
        [15, this.shuxueheight + 10],
        "出量",
        15,
        "black",
        "vertical-rl"
      );
      this.drawer.drawText(
        [15, this.chuliangheight + 250],
        "术中检测",
        15,
        "black",
        "vertical-rl"
      );
      this.drawer.drawText(
        [this.vertical, this.shuzhongtopheight + 15],
        "脉搏/血压mmHg",
        15,
        "black",
        "",
        "end"
      );

      // 图例
      let tulitop = this.chuliangheight + 30;
      let svgimg = d3.select("#wrapper");
      for (let i = 0; i < this.tuliarray.length; i++) {
        this.drawer.drawText(
          [this.topandleft + 10, tulitop + 150],
          this.tuliarray[i].title,
          16,
          "#000000",
          "",
          "start"
        );
        svgimg
          .append("image")
          .attr("width", "30")
          .attr("height", "15")
          .attr("x", this.topandleft + 90)
          .attr("y", tulitop + 135)
          .attr("xlink:href", this.tuliarray[i].selected);
        tulitop = tulitop + 30;
      }

      // 标记区
      this.drawer.drawLine(
        [0, this.shuzhongbottomheight + 80],
        [this.mostright, this.shuzhongbottomheight + 80],
        this.linecolor1,
        1
      );
      this.drawer.drawLine(
        [this.topandleft, this.shuzhongbottomheight],
        [this.topandleft, this.shuzhongbottomheight + 80],
        this.linecolor1,
        1
      );
      this.drawer.drawLine(
        [this.vertical, this.shuzhongbottomheight],
        [this.vertical, this.shuzhongbottomheight + 80],
        this.linecolor1,
        1
      );
      this.drawer.drawText(
        [this.vertical - 35, this.shuzhongbottomheight + 70],
        "标记",
        14,
        "#000000"
      );

      // 最右侧温度刻度
      let a = this.shuzhongtopheight - 70;
      for (let i = 0; i < this.tempaturearray.length; i++) {
        this.scales.drawText(
          [5, a + 15],
          this.tempaturearray[i],
          16,
          "#000000"
        );
        a = a + 64;
      }
    },
    // 计算纵坐标
    topheight(val) {
      let height_g = this.shuzhongbottomheight - this.shuzhongtopheight;
      const yScale = d3.scaleLinear().domain([0, 280]).range([0, height_g]);
      val.y = yScale(val.FLDDISPLAY);
    },
    // 计算横坐标
    leftToRight(val) {
      // 距离起点差的时间（分钟）
      let distanceStartTime =
        (dayjs(val.DODATE) - dayjs(this.startDate)) / 1000 / 60;
      val.x = (distanceStartTime / 5) * 19;
    },
    // 计算横坐标
    leftToRightX(DODATE) {
      let x = 0;
      // 距离起点差的时间（分钟）
      let distanceStartTime =
        (new Date(DODATE).getTime() - new Date(this.startDate).getTime()) /
        1000 /
        60;
      x = (distanceStartTime / 5) * 19;
      return x;
    },

    //绘制输液
    creatSy() {
      let yy = [
        {
          RDN: "4596059",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES60_001",
          FLDNAME: "乳酸钠林格",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "ml",
          INPUTFIELD: "500",
          PHRCD: "11202012A0201",
          FLDDISPLAY: "500",
          SETNO: "4585410",
          INDATE: "12/12/2023 15:38:00",
          DODATE: "2023-12-12 14:45",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "IGTT",
          WORDHIGH: "",
          WORDCOLOR: "500ml",
          PICWIDE: "",
          MARKRDN: "4596058",
          SUBTYPE: "D",
          SUBTYPE_MARK: "ANES60",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "",
          REF1: "测试",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
        {
          RDN: "4596107",
          HOSCODE: "A001",
          RELARDN: "96242",
          MRN: "23019862",
          FLOWID: "IP23049808",
          PRTYPE: "H25",
          STAY: "I",
          FLDCODE: "ANES60_002",
          FLDNAME: "万汶",
          VALUETYPE: "",
          FLDKIND: "",
          FLDUNIT: "ml",
          INPUTFIELD: "500",
          PHRCD: "12804009A0202",
          FLDDISPLAY: "500",
          SETNO: "4585410",
          INDATE: "12/12/2023 15:39:00",
          DODATE: "2023-12-12 15:00",
          BZ_DODATE: "",
          WORKER: "200039",
          WORKER_NAME: "费治华",
          MODIFYER: "200039",
          MODIFYER_NAME: "费治华",
          MODIFYDATE: "12/12/2023 16:40:00",
          PHNUMB: "9",
          USEFLAG: "1",
          FLDPROTECT: "",
          SHOWSERIES: "",
          REPEATFLAG: "",
          SELECTFLAG: "",
          DISPLAYTYPE: "",
          NEEDFLAG: "",
          INHAND: "",
          NEXTSUM: "",
          NEXTKIND: "",
          NEXTPOINTER: "0",
          MODELDRUGRDN: "",
          LOGFLAG: "IGTT",
          WORDHIGH: "",
          WORDCOLOR: "500ml:30g/4.5g",
          PICWIDE: "",
          MARKRDN: "4596107",
          SUBTYPE: "D",
          SUBTYPE_MARK: "ANES60",
          GROUP_MARK: "",
          MAINFLAG: "",
          STOPDATE: "2023-12-12 16:35",
          REF1: "",
          REF2: "",
          REF3: "",
          DEPTID: "A26",
          DEPTNAME: "麻醉科",
          newflag: "",
          FLDCODEBASEList: [],
          DO_RDN: "",
          UNNORMALFLAG: "",
          SCALE_LOW: null,
          SCALE_HIGH: null,
        },
      ];
      if (yy.length > 0) {
        var date = new Date(this.startDate);
        let showList = [];
        let wz2 = [];
        for (let a = 0; a < yy.length; a++) {
          let showRow = showList.filter((e) => e.FLDCODE == yy[a].FLDCODE);
          if (showRow != null && showRow.length > 0) {
            showRow[0].childen.push({
              STOPDATE: yy[a].STOPDATE,
              LOGFLAG: yy[a].LOGFLAG,
              REF1: yy[a].REF1,
              DODATE: yy[a].DODATE,
              FLDCODE: yy[a].FLDCODE,
              INPUTFIELD: yy[a].INPUTFIELD,
              FLDUNIT: yy[a].FLDUNIT,
            });
          } else {
            showList.push({
              text: `${yy[a].FLDNAME}(${yy[a].FLDUNIT})`,
              FLDCODE: yy[a].FLDCODE,
              childen: [
                {
                  STOPDATE: yy[a].STOPDATE,
                  FLDCODE: yy[a].FLDCODE,
                  LOGFLAG: yy[a].LOGFLAG,
                  REF1: yy[a].REF1,
                  DODATE: yy[a].DODATE,
                  WORDCOLOR: yy[a].WORDCOLOR,
                  INPUTFIELD: yy[a].INPUTFIELD,
                  FLDUNIT: yy[a].FLDUNIT,
                },
              ],
              numb: a,
            });
          }
        }
        showList.map((v, i) => {
          this.drawer.drawText(
            [
              this.topandleft + this.minboxwidth + 5,
              this.mayaoheight + this.minboxheight * i + 13,
            ],
            v.text,
            14,
            "#000000"
          );

          for (let t = 0; t < v.childen.length; t++) {
            let strL = v.childen[t].LOGFLAG;
            let INs = strL.length / 1.8;
            let ref = strL.length / 1.8 - v.childen[t].REF1.length / 1.8;
            let indate = v.childen[t].DODATE; //结束时间
            let stop = v.childen[t].STOPDATE; //开始时间
     

            let starX = this.vertical + this.leftToRightX(indate);
            let endX = this.vertical + this.leftToRightX(stop);
            let partX =
              this.leftToRightX(stop) -
              (this.leftToRightX(stop) - this.leftToRightX(indate)) / 2; //一半距离
            if (
              v.childen[t].STOPDATE != "" &&
              v.childen[t].STOPDATE !== "1900-01-01 00:00"
            ) {
              //左竖线
              this.drawer.drawLine(
                [starX, this.mayaoheight + this.minboxheight * i + 3],
                [starX, this.mayaoheight + this.minboxheight * i + 14],
                this.linecolor3,
                1
              );
              //左横线到文字的距离
              this.drawer.drawLine(
                [starX, this.mayaoheight + this.minboxheight * i + 8],
                [
                  this.vertical + partX - (this.minboxwidth * INs) / 2,
                  this.mayaoheight + this.minboxheight * i + 8,
                ],
                this.linecolor3,
                1
              );

              //左横线到文字的距离
              this.drawer.drawLine(
                [
                  this.vertical + partX,
                  this.mayaoheight + this.minboxheight * i + 8,
                ],
                [endX, this.mayaoheight + this.minboxheight * i + 8],
                this.linecolor3,
                1
              );

              //文字剂量单位
              this.drawer.drawText(
                [
                  this.vertical + partX - (this.minboxwidth * INs) / 2,
                  this.mayaoheight + this.minboxheight * i + 8,
                ],
                v.childen[t].INPUTFIELD + v.childen[t].FLDUNIT,
                10,
                "#1B4ADD"
              );
              //用法
              this.drawer.drawText(
                [
                  this.vertical + partX - (this.minboxwidth * INs) / 2,
                  this.mayaoheight + this.minboxheight * i + 17,
                ],
                v.childen[t].LOGFLAG,
                10,
                "#1B4ADD"
              );

              //右竖线
              this.drawer.drawLine(
                [endX, this.mayaoheight + this.minboxheight * i + 3],
                [endX, this.mayaoheight + this.minboxheight * i + 14],
                this.linecolor3,
                1
              );
            } else {
              //文字剂量单位
              this.drawer.drawText(
                [starX, this.mayaoheight + this.minboxheight * i + 8],
                v.childen[t].INPUTFIELD + v.childen[t].FLDUNIT,
                10,
                "#1B4ADD"
              );
              //用法
              this.drawer.drawText(
                [starX, this.mayaoheight + this.minboxheight * i + 17],
                v.childen[t].LOGFLAG,
                10,
                "#1B4ADD"
              );


              this.drawer.drawText(
                [starX, this.mayaoheight + this.minboxheight * i + 26],
                v.childen[t].REF1,
                10,
                "#1B4ADD"
              );
           
            }
          }
        });
      }
    },
  },
};
</script>
<style scoped lang="less">
.anesthesiaSheet-wrapper {
  width: 100%;
  height: 1200px;
  overflow: auto;

  .anesthesiaSheet-content {
    width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;

    .header-title {
      width: 1140px;
      height: 128px;
      display: flex;
      flex-direction: column;

      .header-title-record1 {
        width: 1140px;
        height: 100px;
        color: #000000;
        font-size: 40px;
        text-align: center;
        line-height: 100px;
        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
      }

      .header-title-record2 {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
        color: #000000;
        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
      }
    }

    .header-name {
      width: 1140px;
      height: 44px;
      border-top: 1px solid #000000;
      border-left: 1px solid #000000;
      border-right: 1px solid #000000;
      display: flex;
      font-family: SourceHanSansCN-Normal, SourceHanSansCN;

      .header-name-box {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;

        .sex {
          width: 50px;
          border: 1px solid #e7eaef;
        }

        .day-ipt {
          width: 50px;
          border: 1px solid #e7eaef;
        }
      }

      .operation-box {
        flex: 2;
        display: flex;
        justify-content: center;
        align-items: center;

        .operation-type {
          width: 100px;
          border: 1px solid #e7eaef;
        }
      }

      .special-box {
        flex: 3;
        display: flex;
        justify-content: center;
        align-items: center;

        .special-type {
          border: 1px solid #e7eaef;
        }
      }
    }

    .svg-content {
      position: relative;
      height: 974px;

      #wrapper {
        width: 1140px;
        height: 974px;
        border-left: 1px solid black;
        border-right: 1px solid black;
        margin: 0 auto;
      }

      #temperatureScales {
        width: 30px;
        height: 1000px;
        position: absolute;
        left: 1145px;
        top: 0;
      }
    }

    .remark-box {
      display: flex;
      width: 1140px;
      height: 212px;
      border-left: 1px solid #000;
      border-right: 1px solid #000;
      border-bottom: 1px solid #000;
      font-size: 14px;
      font-weight: 400;
      line-height: 21px;
      color: #000000;

      font-family: SourceHanSansCN-Normal, SourceHanSansCN;

      .remark-content {
        flex: 1;
        display: flex;
        width: 0;
        padding: 2px 8px;
        box-sizing: border-box;

        .remark-content1,
        .remark-content2,
        .remark-content3 {
          min-width: 190px;
          overflow: hidden;
          line-height: 21px;
        }
      }

      .remark-text {
        display: flex;
        width: 18px;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-right: 1px solid #000;
        flex-shrink: 0;
      }

      .remark-input {
        border-left: 1px solid #000;
        width: 200px;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: center;
        flex-shrink: 0;
        padding-top: 6px;
        padding-left: 10px;
        box-sizing: border-box;
      }
    }

    .anthesia-summary {
      width: 1140px;
      height: 342px;
      border: 1px solid #000;
      border-top: none;
      padding: 0 10px;
      box-sizing: border-box;

      .summary-title {
        margin: 10px 0;
        display: flex;
        justify-content: center;
        font-size: 24px;
        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
        font-weight: 400;
        color: #000000;
      }

      .line {
        display: flex;
      }
    }

    .anthesia-info {
      width: 1140px;
      height: 120px;
      border: 1px solid #000;
      border-top: none;
      padding: 18px 10px 0;
      box-sizing: border-box;

      .line {
        display: flex;
      }
    }

    /deep/.el-form {
      .el-form-item {
        margin-bottom: 6px;
        margin-right: 27px;

        .el-form-item__label {
          padding-right: 6px;
          text-align-last: justify;
          line-height: 24px;
          font-weight: 400;
          color: #000;
        }

        .el-form-item__content {
          display: flex;
          margin-left: 0 !important;
          line-height: 24px;

          .el-input {
            width: auto;
            margin-left: 10px;
            margin-right: 5px;

            .el-input__inner {
              width: 98px;
              height: 24px;
              background: #ffffff;
              border-radius: 2px;
              border: 1px solid #cacfdb;
            }
          }

          .el-checkbox {
            margin-right: 34px;
          }

          .el-checkbox:last-child {
            margin-right: 0px;
          }

          .el-checkbox-group {
            display: flex;
            align-items: center;
            margin-left: 8px;

            .el-checkbox__label {
              color: #000;
            }
          }
        }
      }

      .m-r-24 {
        margin-right: 24px;
      }

      .label64 {
        .el-form-item__label {
          width: 64px;
          text-align-last: justify;
        }

        .el-checkbox__label {
          width: 28px;
          text-align-last: justify;
        }
      }

      .label82 {
        .el-form-item__label {
          width: 82px;
          text-align-last: justify;
        }
      }

      .label190 {
        .el-form-item__label {
          width: 190px;
          text-align-last: justify;
        }

        .el-checkbox {
          margin-right: 25px !important;
        }
      }

      .twjc {
        .el-checkbox:last-child {
          margin-left: 15px;
        }
      }

      .sjmcc {
        .el-checkbox:nth-child(2) {
          margin-left: 28px !important;
        }

        .el-checkbox:nth-child(4) {
          margin-left: 7px !important;
        }

        .el-checkbox:nth-child(6) {
          margin-left: 15px !important;
        }
      }

      .label100 {
        .el-form-item__label {
          width: 100px;
          text-align-last: justify;
        }
      }

      .lable120 {
        .el-form-item__label {
          width: 120px;
          text-align-last: justify;
        }
      }
      .w200 {
        .el-form-item__content {
          width: 150px;
        }
      }

      .w248 {
        width: auto;

        .el-input__inner {
          margin-left: 15px;
          width: 230px !important;
          height: 24px;
          background: #ffffff;
          border-radius: 2px;
          border: 1px solid #cacfdb;
        }
      }

      .w528 {
        .el-input__inner {
          width: 528px !important;
        }
      }

      .w1041 {
        .el-input__inner {
          width: 1041px !important;
        }
      }

      .w622 {
        .el-input__inner {
          width: 622px !important;
        }
      }

      .w318 {
        margin-left: 30px;
        .el-input__inner {
          width: 318px !important;
        }
      }

      .w104 {
        .el-input__inner {
          width: 104px !important;
        }

        .el-input {
          margin-left: 5px;
          margin-right: 0px !important;
        }
      }

      .w99 {
        .el-input__inner {
          width: 99px !important;
        }

        .el-input {
          margin-left: 5px;
          margin-right: 0px !important;
        }
      }

      .w983 {
        .el-input__inner {
          width: 983px !important;
        }
      }

      .w553 {
        .el-input__inner {
          width: 553px !important;
        }
      }

      .bw {
        margin-right: 0;
      }
    }

    /deep/ .line2 {
      .el-checkbox-group {
        .el-checkbox:nth-child(3) {
          margin-right: 20px;
        }

        .el-checkbox:nth-child(4) {
          margin-right: 6px;
        }
      }
    }
  }
}
</style>